﻿
using LeMigue.Scrum.Iterface.Model;

namespace LeMigue.TeamPortal.Base.View
{
    public class TeamView
    {
        protected Team _team;
        protected bool _ativo;

        public TeamView(Team team)
        {
            _team = team;
        }
        public TeamView(Team team, bool ativo):this(team)
        {
            _ativo = ativo;
        }

        public int Id
        {
            get { return _team.Id;}
        }
        public string Title
        {
            get { return _team.Title; }
        }

        public string Ativo
        {
            get { return _ativo ? "ativo" : ""; }

        }
    }
}